package com.excemple.compose.ui.page.main

import androidx.compose.runtime.*
import com.excemple.compose.ui.theme.AppTheme

/**
 *
 * Created on 2022/5/5.
 * @author tdq
 */
@Composable
fun HomeEntry() {

    // 是否是启动页
    var isSplash by remember {
        mutableStateOf(true)
    }

    AppTheme {
        if (isSplash) {
            SplashPage {
                isSplash = false
            }
        } else {
            AppScaffold()
        }
    }
}
